home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
domacnost a kancelar
/
autoit
/
autoit-v3-setup.exe
/
Examples
/
Helpfile
/
_FilePrint.au3
< prev
next >
Wrap
Text File
|
2007-09-08
|
297b
|
11 lines
#include <File.au3>
$file = FileOpenDialog("Print File", "", "Text Documents (*.txt)", 1)
If @error Then Exit
$print = _FilePrint($file)
If $print Then
MsgBox(0, "Print", "The file was printed.")
Else
MsgBox(0, "Print", "Error: " & @error & @CRLF & "The file was not printed.")
EndIf